package com.zxy.furns.dao;

import com.zxy.furns.entity.Member;
import com.zxy.furns.service.MemberService;

/**
 * ClassName: register
 * Package: com.zxy.furns.dao
 *
 * @Author zxy
 * @Create 2025/3/20 21:40
 * @Version 1.0
 * title:
 * Description:
 */
public interface MemberDAO {
    //数据库的查询功能 ==>为service的注册提供
    int saveMember(Member member);

    //数据库中查询的功能==>为service的注册重复提供
    Member queryMemberByUsername(String username);

    //数据库的查询功能(针对用户名和密码) ==>为service的登录提供
    Member queryMemberByUsernameAndPassword(String username,String password);
}
